package com.ruoyi.civil.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 病害处治对象 civil_enginneering_treatment
 * 
 * @author ruoyi
 * @date 2022-05-11
 */
public class CivilEnginneeringTreatment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录表编码 */
    private Long tTreatmentId;

    /** 隧道编码 */
    @Excel(name = "隧道编码")
    private Long tunnelId;

    /** 隧道名称 */
    @Excel(name = "隧道名称")
    private String tunnelName;

    /** 病害处治原因 */
    @Excel(name = "病害处治原因")
    private String treatmentReason;

    /** 病害处治内容 */
    @Excel(name = "病害处治内容")
    private String treatmentContent;

    /** 病害处治频率 */
    @Excel(name = "病害处治频率")
    private String treatmentFrequency;

    /** 病害处治方案 */
    @Excel(name = "病害处治方案")
    private String treatmentScheme;

    /** 上次病害处治日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上次病害处治日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastTreatmentDate;

    /** 病害处治前状况值 */
    @Excel(name = "病害处治前状况值")
    private Long lastTreatmentNumber;

    /** 本次病害处治日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "本次病害处治日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date treatmentDate;

    /** 病害处治后状况值 */
    @Excel(name = "病害处治后状况值")
    private Integer treatmentNumber;

    /** 病害处治人员 */
    @Excel(name = "病害处治人员")
    private String treatmentPerson;

    /** 病害处治状态 */
    @Excel(name = "病害处治状态")
    private String treatmentCondition;

    public void settTreatmentId(Long tTreatmentId) 
    {
        this.tTreatmentId = tTreatmentId;
    }

    public Long gettTreatmentId() 
    {
        return tTreatmentId;
    }
    public void setTunnelId(Long tunnelId) 
    {
        this.tunnelId = tunnelId;
    }

    public Long getTunnelId() 
    {
        return tunnelId;
    }
    public void setTunnelName(String tunnelName) 
    {
        this.tunnelName = tunnelName;
    }

    public String getTunnelName() 
    {
        return tunnelName;
    }
    public void setTreatmentReason(String treatmentReason) 
    {
        this.treatmentReason = treatmentReason;
    }

    public String getTreatmentReason() 
    {
        return treatmentReason;
    }
    public void setTreatmentContent(String treatmentContent) 
    {
        this.treatmentContent = treatmentContent;
    }

    public String getTreatmentContent() 
    {
        return treatmentContent;
    }
    public void setTreatmentFrequency(String treatmentFrequency) 
    {
        this.treatmentFrequency = treatmentFrequency;
    }

    public String getTreatmentFrequency() 
    {
        return treatmentFrequency;
    }
    public void setTreatmentScheme(String treatmentScheme) 
    {
        this.treatmentScheme = treatmentScheme;
    }

    public String getTreatmentScheme() 
    {
        return treatmentScheme;
    }
    public void setLastTreatmentDate(Date lastTreatmentDate) 
    {
        this.lastTreatmentDate = lastTreatmentDate;
    }

    public Date getLastTreatmentDate() 
    {
        return lastTreatmentDate;
    }
    public void setLastTreatmentNumber(Long lastTreatmentNumber) 
    {
        this.lastTreatmentNumber = lastTreatmentNumber;
    }

    public Long getLastTreatmentNumber() 
    {
        return lastTreatmentNumber;
    }
    public void setTreatmentDate(Date treatmentDate) 
    {
        this.treatmentDate = treatmentDate;
    }

    public Date getTreatmentDate() 
    {
        return treatmentDate;
    }
    public void setTreatmentNumber(Integer treatmentNumber) 
    {
        this.treatmentNumber = treatmentNumber;
    }

    public Integer getTreatmentNumber() 
    {
        return treatmentNumber;
    }
    public void setTreatmentPerson(String treatmentPerson) 
    {
        this.treatmentPerson = treatmentPerson;
    }

    public String getTreatmentPerson() 
    {
        return treatmentPerson;
    }
    public void setTreatmentCondition(String treatmentCondition) 
    {
        this.treatmentCondition = treatmentCondition;
    }

    public String getTreatmentCondition() 
    {
        return treatmentCondition;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tTreatmentId", gettTreatmentId())
            .append("tunnelId", getTunnelId())
            .append("tunnelName", getTunnelName())
            .append("treatmentReason", getTreatmentReason())
            .append("treatmentContent", getTreatmentContent())
            .append("treatmentFrequency", getTreatmentFrequency())
            .append("treatmentScheme", getTreatmentScheme())
            .append("lastTreatmentDate", getLastTreatmentDate())
            .append("lastTreatmentNumber", getLastTreatmentNumber())
            .append("treatmentDate", getTreatmentDate())
            .append("treatmentNumber", getTreatmentNumber())
            .append("treatmentPerson", getTreatmentPerson())
            .append("treatmentCondition", getTreatmentCondition())
            .toString();
    }
}
